#ifndef _SLEEP_SLED_H_
#define _SLEEP_SLED_H_


#include "task.h"
//sled  = sleep led
struct _s_task_sled_
{
	_ts_task task;
	INT32U time_over;
	INT32U time_change;
	unsigned char cycle;
	unsigned char dir;
	unsigned char uc;
	//unsigned short t30min;// sleep led turn off after 30 min 
	//unsigned short us;// sleep led turn off after 30 min 
};
extern struct _s_task_sled_ s_task_sled;

// except 0xh  1xh  f0h
#define D_task_sled_key	0x20

#define D_task_sled_start	0x30

#define D_task_sled_ask	0x40

#define D_task_sled_change	0x50


extern type_comm  L2_task_qkey_sled_handdle(struct _s_task_sled_ *s);

extern void L0_task_sled_init(struct _s_task_sled_ *s);
#endif



